package com.wkbb.sports.service;

import com.github.pagehelper.PageInfo;
import com.wkbb.common.base.BaseService;
import com.wkbb.common.dto.ResultDTO;
import com.wkbb.sports.dto.*;
import com.wkbb.sports.model.HlifeExamine;

import java.util.List;
import java.util.Map;

public interface ExamineService extends BaseService<HlifeExamine> {

    PageInfo<ExamineDto> getExaminePageList(Map<String, Object> params, Integer pageNo, Integer pageSize);

    ResultDTO delExamine(Map<String, Object> params) throws Exception;

    ResultDTO addExamine(ExamineDto examineDto);

    List<ExamineDto> getExamineById(Map<String, Object> params);

    ResultDTO updateExamine(ExamineDto examineDto) throws Exception;
    
    void copyRule(long sourceOrg, long sourceGrade, long targetOrg, long targetGrade) throws Exception;
}